package com.boge.hystrix.config;


import com.boge.hystrix.DoHystrixPoint;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class HystrixAutoConfigure {


    @Bean("doHystrixPoint")
    @ConditionalOnMissingBean
    public DoHystrixPoint point(){
        return new DoHystrixPoint();
    }

}

  